package com.pshcp.domain.model;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import java.util.Date;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医生的患者表
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_doctor_patient")
public class DoctorPatient implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private Long doctorId;

    private Long patientId;

    /**
     * 状态 0线上咨询 1线下咨询 2互联网医院
     */
    private Integer type;

    /**
     * 状态 0不是 1是
     */
    private Integer vipFlag;

    /**
     * 状态 0不是 1是
     */
    private Integer relationFlag;

    /**
     * 名字
     */
    private String name;

    /**
     * 0女1男
     */
    private Integer sex;

    /**
     * 年龄
     */
    private Integer age;
    /**
     * 手机
     */
    private String phone;
    /**
     * 备注
     */
    private String remark;

    /**
     * 状态 0未审核 1已审核
     */
    private Integer auditStatus;

    /**
     * 状态 0正常 1删除
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
